/*
 * An XML document type.
 * Localname: Registrable
 * Namespace: http:///org/isistan/flabot/coremodel.ecore
 * Java type: org.isistan.flabot.coremodelEcore.RegistrableDocument
 *
 * Automatically generated - do not modify.
 */
package org.isistan.flabot.coremodelEcore.impl;
/**
 * A document containing one Registrable(@http:///org/isistan/flabot/coremodel.ecore) element.
 *
 * This is a complex type.
 */
public class RegistrableDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.isistan.flabot.coremodelEcore.RegistrableDocument
{
    private static final long serialVersionUID = 1L;
    
    public RegistrableDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName REGISTRABLE$0 = 
        new javax.xml.namespace.QName("http:///org/isistan/flabot/coremodel.ecore", "Registrable");
    
    
    /**
     * Gets the "Registrable" element
     */
    public org.isistan.flabot.coremodelEcore.Registrable getRegistrable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isistan.flabot.coremodelEcore.Registrable target = null;
            target = (org.isistan.flabot.coremodelEcore.Registrable)get_store().find_element_user(REGISTRABLE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Registrable" element
     */
    public void setRegistrable(org.isistan.flabot.coremodelEcore.Registrable registrable)
    {
        generatedSetterHelperImpl(registrable, REGISTRABLE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "Registrable" element
     */
    public org.isistan.flabot.coremodelEcore.Registrable addNewRegistrable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isistan.flabot.coremodelEcore.Registrable target = null;
            target = (org.isistan.flabot.coremodelEcore.Registrable)get_store().add_element_user(REGISTRABLE$0);
            return target;
        }
    }
}
